 function add() {
    let menuList = [];
    list.map(item => {
        if (item.parentId == 0) {
            item.children = recriution(item, list);
        }
        menuList.push(item);
    })
    console.log(menuList);
}